import Vue from 'vue';
import App from './App';
import NavBar from './components/navbar/index.vue';
import Picker from './components/picker/index.vue';
import ServicePage from './components/ServicePage/index.vue';

import uView from '@/uni_modules/uview-ui';
Vue.use(uView);

// 引入组件
// import components from './components/index.js';
Vue.component('NavBar', NavBar);
Vue.component('Picker', Picker);
Vue.component('ServicePage', ServicePage);

Vue.config.productionTip = false;

// 注册全局组件
// Vue.use(components);

App.mpType = 'app';

const app = new Vue({
  ...App
});
app.$mount();
